#pragma once

class CChangePasswdDlg  : public CDialogImpl<CChangePasswdDlg>, public CWinDataExchange<CChangePasswdDlg>
{
public:
	enum { IDD = IDD_DIALOG_CHANGE_PASSWORD };

	BEGIN_MSG_MAP(CChangePasswdDlg)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_ID_HANDLER(IDOK, OnOK)
		COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
    END_MSG_MAP()


	BEGIN_DDX_MAP(CChangePasswdDlg)
		DDX_TEXT(IDC_EDIT_PASSWORD, m_strPassword )
        DDX_TEXT(IDC_EDIT_PASSWORD2, m_strPassword2 )
	END_DDX_MAP()


	LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
	LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
	LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);

protected:
	CString		m_strPassword;
    CString     m_strPassword2;


};
